<ng-container *ngIf="warnings && warnings.length > 0">
    <div class="warning label">
        <i class="red exclamation triangle icon"></i> {{warnings.length}}
    </div>
</ng-container>